package com.owen.system.keep.consumption.service;

import com.owen.system.keep.consumption.dto.KeepConsumptionTypeDTO;
import com.owen.system.keep.consumption.vo.KeepConsumptionTypeVO;

import java.util.List;
import java.util.Map;

/**
 * 消费类型服务
 */
public interface KeepConsumptionTypeService {

    KeepConsumptionTypeVO get(String id);

    List<KeepConsumptionTypeVO> list(Map<String, Object> map);

    List<KeepConsumptionTypeVO> selectByKeepAccountIdAndConsumptionType(String keepAccountId, String consumptionType);


    int count(Map<String, Object> map);

    int save(KeepConsumptionTypeDTO keepConsumptionTypeDTO);

    int update(KeepConsumptionTypeDTO keepConsumptionTypeDTO);

    int remove(String id);

    int batchRemove(String[] ids);


}
